.head {
    height: 50px;
    line-height: 50px;
    border: 1px solid #ccc;
    >.container {
        height: 100%;
        >.row {
            text-align: center;
            >div:nth-of-type(-n+3) {
                border-right: 1px solid #ccc;
            }
            >div:nth-of-type(1) {
                >a {
                    display: block;
                    color: #000;
                    >img {
                        position: absolute;
                        left: 50%;
                        top: 49px;
                        transform: translateX(-50%);
                        display: none;
                        z-index: 999;
                    }
                }
                &:hover img {
                    display: block;
                }
            }
            >div:nth-child(2) {
                padding-right: 0;
                padding-left: 0;
            } // &>.a {
            //     padding-right: 0;
            //     padding-left: 0;
            // }
            >div:nth-of-type(3) {
                >a {
                    color: #000;
                }
            }
            >div:nth-of-type(4) {
                >button:nth-of-type(1) {
                    &.btn {
                        padding: 3px 16px;
                        background-color: red;
                    }
                }
            }
        }
    }
}

//nav开始
.wjs_nav {
    .navbar-toggle {
        margin-top: 23px;
        margin-bottom: 23px;
    }
    .wjs_icon {
        font-size: 40px;
        line-height: 50px;
        &.wjs_icon_logo {
            color: red;
        }
        &.wjs_icon_text {
            color: #000;
        }
    }
    .navbar-nav {
        >li {
            height: 80px;
            margin-left: 10px;
            >a {
                line-height: 50px;
                font-size: 16px;
                display: block;
            }
            >a:hover,
            a:focus {
                color: #777;
                border-bottom: 3px solid red;
                box-sizing: border-box;
            }
        }
        .active {
            >a,
            a:hover,
            a:focus {
                color: #777;
                background-color: transparent;
                border-bottom: 3px solid red;
            }
        }
    }
}

//轮播图开始
.wjs_banner {
    .mobileImg {
        width: 100%;
        display: block;
    }
    .mobileImg>img {
        width: 100%;
        display: block;
    }
    .pcImg {
        width: 100%;
        height: 380px;
        display: block;
        background-size: cover;
        background-position: center;
    }
}

//信息块开始
.wjs_info {
    padding: 30px;
    .wjs_icon {
        font-size: 30px;
    }
    .row>div {
        margin-top: 20px;
    }
    .row>div>a:hover {
        color: red;
    }
}

//预约块开始
.wjs_reverse {
    border-top: 1px solid #ccc;
    height: 58px;
    border-bottom: 1px solid #ccc;
    >.container {
        height: 100%;
        >.row {
            height: 100%;
            >div {
                height: 100%;
                line-height: 58px;
            }
            >div:nth-of-type(1) {
                >span {
                    font-size: 16px;
                }
                >a:nth-of-type(2) {
                    color: red;
                    border-bottom: 1px dashed red;
                }
            }
            >div:nth-of-type(2) {
                >span {
                    font-size: 16px;
                }
            }
        }
    }
}

//产品块开始
.wjs_product {
    padding: 20px;
    background-color: #eee;
    clear: both;
    .wjs_pTabsParent {
        width: 100%;
        overflow: hidden;
        .nav-tabs {
            >li {
                // margin-right: 15px;
                >a {
                    font-size: 16px;
                    line-height: 50px;
                }
                &.active {
                    >a,
                    a:hover,
                    a:focus {
                        background-color: #eee;
                        border-color: transparent;
                        border-bottom: 3px solid #e92326;
                    }
                }
            }
        }
    }
    .tab-content {
        margin-top: 20px;
        .container {
            .wjs_proBox {
                display: flex;
                padding: 5px;
                box-sizing: border-box;
                >.wjs_pright {
                    width: 100px;
                    color: #000;
                    border-left: 1px dashed #ccc;
                    padding-top: 40px;
                    text-align: center;
                    position: relative;
                    background-color: #fff;
                    >span {
                        font-size: 40px;
                        color: #e92326;
                    }
                    >sub {
                        color: #e92326;
                    }
                    &::before {
                        content: '';
                        width: 8px;
                        height: 8px;
                        border-radius: 50%;
                        position: absolute;
                        left: -5px;
                        top: -4px;
                        background-color: #eee;
                    }
                    &::after {
                        content: '';
                        width: 8px;
                        height: 8px;
                        border-radius: 50%;
                        position: absolute;
                        left: -5px;
                        bottom: -4px;
                        background-color: #eee;
                    }
                }
                >.wjs_pleft {
                    flex: 1;
                    color: #000;
                    background-color: #fff;
                    >h3 {
                        line-height: 40px;
                        font-size: 16px;
                        text-align: center;
                        margin: 0;
                        padding: 0;
                    }
                    .row {
                        padding: 5px;
                        >div:nth-of-type(2n) {
                            text-align: right;
                        }
                    }
                }
                &.active {
                    .wjs_pright,
                    .wjs_pleft {
                        background-color: #e92326;
                        color: #fff;
                    }
                    .wjs_pright {
                        span,
                        sub {
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}

//新闻块{
.wjs_news {
    padding: 20px;
    .container {
        .row {
            >div:nth-of-type(1) {
                h3 {
                    text-align: center;
                    line-height: 50px;
                    border-bottom: 1px solid #ccc;
                    position: relative;
                    &::before {
                        content: '';
                        width: 6px;
                        height: 6px;
                        border: 1px solid #ccc;
                        position: absolute;
                        right: -6px;
                        bottom: -3px;
                        border-radius: 50%;
                    }
                }
            }
            >div:nth-of-type(2) {
                .nav-tabs {
                    li {
                        margin-bottom: 50px;
                        a {
                            border-radius: 50%;
                            display: block;
                            background-color: #ccc;
                            color: #fff;
                            .wjs_icon {
                                font-size: 30px;
                            }
                        }
                        &.active {
                            >a,
                            a:hover,
                            a:focus {
                                border: none;
                                background-color: #e92322;
                            }
                        }
                        a:hover {
                            background-color: #e92322;
                        }
                    }
                    >li:last-of-type {
                        margin-bottom: 0px;
                    }
                    @media screen and (min-width:768px) and (max-width:992px) {
                        li {
                            margin: 30px;
                        }
                    } // w < 768 
                    @media screen and (max-width:768px) {
                        li {
                            margin: 30px 0;
                            width: 25%;
                        }
                    }
                }
                .wjs_newsLine {
                    width: 1px;
                    height: 100%;
                    border-left: 1px dashed red;
                    position: absolute;
                    left: 45px;
                }
            }
            .wjs_newslist {
                list-style: none;
                padding: 0;
                margin: 0;
                clear: both;
                >li {
                    line-height: 50px;
                }
            }
        }
    }
}

//合作伙伴
.wjs_parterner {
    padding: 30px;
    .wjs_icon {
        font-size: 80px;
    }
    h3 {
        line-height: 50px;
        text-align: center;
    }
    ul {
        width: 100%;
        list-style: none;
        display: flex;
        justify-content: center;
        >li {
            flex: 1;
        }
    }
}